package Controllers;

import java.rmi.Remote;
import java.rmi.RemoteException;

import listeners.CanPieceMoveListener;

import Models.ChessPieceModel;
import Models.Point2D;

public interface ChessPieceControllerInterface extends Remote, CanPieceMoveListener {
	public static final String name = "ChessPiece";

	public boolean legalMove(Point2D moveVector, ChessPieceModel chessPiece) throws RemoteException; //given a vector
	
	
	
	public boolean legalCapture(Point2D moveVector, ChessPieceModel chessPiece) throws RemoteException;
	
	
}
